﻿using System;

namespace FractionNumber
{
    public class Program
    {
        public static void Main()
        {
            Fraction f = new Fraction(1, 8);
            Console.WriteLine(f);
            Console.WriteLine("{0:N}", f);
            Console.WriteLine("{0:R}", f);
        }
    }
}
